QMAKE_PROJECT_DEPTH = 0


QT += quick \
location \
core \
core-private \
sql \
widgets \
qml \


# You can make your code fail to compile if it uses deprecated APIs.
# In order to do so, uncomment the following line.
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000    # disables all the APIs deprecated before Qt 6.0.0

INCLUDEPATH += \
    QtLocationPlugin \
    QtLocationPlugin/QMLControl \

SOURCES += \
        QGCFileDownload.cc \
        QmlObjectListModel.cc \
        QtLocationPlugin/QMLControl/QGCMapEngineManager.cc \
        main.cpp

RESOURCES += qml.qrc

# Additional import path used to resolve QML modules in Qt Creator's code model
QML_IMPORT_PATH = += $$PWD

# Additional import path used to resolve QML modules just for Qt Quick Designer
QML_DESIGNER_IMPORT_PATH =

# Default rules for deployment.
qnx: target.path = /tmp/$${TARGET}/bin
else: unix:!android: target.path = /opt/$${TARGET}/bin
!isEmpty(target.path): INSTALLS += target


include(QtLocationPlugin/QGCLocationPlugin.pri)

HEADERS += \
    QGCFileDownload.h \
    QmlObjectListModel.h \
    QtLocationPlugin/QMLControl/QGCMapEngineManager.h \
    math1.h

DISTFILES += \
    OfflineMap.qml \
    qmldir
